/**
 * outsider.com.cn Inc.
 * Copyright (c) 2011-2022 All Rights Reserved.
 */
package com.yuanmeng.common.core.constant;

/**
 * @author outsider
 * @version Id: WeChatConstants.java, v 0.1 2022/6/17 10:43 outsider Exp $$
 */
public class WeChatConstants {

    /**
     * 微信商户证书服务器保存地址
     */
    public static final String MERCHANT_CERT_PATH           = "/www/wwwroot/cert/apiclient_cert.p12";

    /**
     * 获取微信unionId
     */
    public static final String WECHAT_UNION_ID_URL          = "https://api.weixin.qq.com/sns/jscode2session";

    /**
     *
     * 微信统一下单
     */
    public static final String WECHAT_MINI_PROGRAM_PAY_URL  = "https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi";

    /**
     * 微信支付回调
     */
    public static final String WX_PAY_CALLBACK              = "WX_PAY_CALLBACK";

    /**
     * 微信退款回调
     */
    public static final String WX_REFUND_CALLBACK           = "WX_PAY_CALLBACK";

    /**
     * 获取微信小程序二维码地址
     */
    public static final String WX_APPLET_QR_CODE_URL        = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=";

    /**
     * 微信发送消息模板地址
     */
    public static final String WX_SEND_TEMPLATE_MESSAGE_URL = "https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=";

    /**
     * 获取微信小程序access_token地址
     */
    public static final String WX_APPLET_ACCESS_TOKEN_URL   = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=";

    /**
     * 微信企业付款到零钱地址
     */
    public static final String WX_CORPORATE_PAYMENT_URL     = "https://api.mch.weixin.qq.com/v3/transfer/batches";

    /**
     * 获取微信小程序手机号地址
     */
    public static final String WX_PHONE_NO_URL              = "https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token=";

    /************************************************   微信小程序消息模板   *******************************************************/

    /**
     * 签到提醒消息模板
     */
    public static final String MESSAGE_SIGN_IN_REMINDER     = "7r6T_VEeoeME_tedxB2PxJQhgg6um0J8ojL3qF-XMNQ";
}